export const column = [
    {
        label: 'ID',
        name: 'id',
    },
    {
        label: '名称',
        name: 'name',
    },
    {
        label: '所属集团',
        name: 'group_name',
    },
    {
        label: '所属公司',
        name: 'company_name',
    },
    {
        label: '地址',
        name: 'mergerName',
    },
    {
        title: '操作',
        name: 'action',
        width: '260',
        buttons: [],
    },
]

export const config = [
    {
        name: 'parent',
        type: 'select_id',
        placeholder: '请选择所属公司',
        label: '所属公司',
        required: true,
    },
    {
        name: 'name',
        type: 'input',
        placeholder: '请输入工厂名称',
        label: '工厂名称',
        required: true,
    },
    {
        name: 'address',
        type: 'cascader',
        placeholder: '请选择地址',
        label: '地址',
        checkStrictly: true,
        required: true,
    },
    {
        name: 'factory_img',
        type: 'image',
        label: '工厂图片',
    },
]
